<!DOCTYPE html>
<script>
if (window.testRunner)
    testRunner.setPrinting();
</script>
<div>
  This goes on the first page.
  <div style="break-before:page;">This goes on the second page.</div>
  <div>This goes on the second page, too.</div>
  <div style="break-before:page;">This goes on the third page.</div>
  <div style="break-before:page;">
    <div>This goes on the fourth page.</div>
    <div style="break-before:page;">This goes on the fifth page.</div>
    <div style="break-before:page;">This goes on the sixth page.</div>
    <div>This goes on the sixth page, too.</div>
    <div style="break-before:page;">This one goes on the seventh page.</div>
  </div>
  <div style="break-before:page;">This goes on the eighth page.</div>
  <div>This goes on the eighth page, too.</div>
  <div>This goes on the eighth page, too.</div>
  <div style="break-before:page;">This goes on the ninth page.</div>
  <div style="break-before:page;">This goes on the tenth page.</div>
</div>
